package com.redis.client.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;

import java.io.Serializable;

/**
 * @author hetao
 */
@Data
@NoArgsConstructor
public class Account implements Serializable {

    private String name;
    @NonNull
    private String host;
    @NonNull
    private Integer port;
    private String password;
    private int db;

}
